package com.fishery.processing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fishery.processing.entity.Input;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fishery.processing.entity.vo.InputVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-01-14
 */
public interface InputService extends IService<Input> {

    public int createInput(Input input);

    public int deleteInput(String inputId);

    public int updateInput(Input input);

    public Input searchInputById(String inputId);

    public IPage<Input> searchInputsOfCraft(String craftId, Integer page, Integer size);

    public List<Input> searchInputsOfCraft(String craftId);

    public IPage<Input> searchInputsOfFactory(String factoryId,Integer page,Integer size);

    public List<Input> searchInputsOfFactory(String factoryId);
}
